package com.freesky.biz.activity.service;

import com.freesky.biz.activity.domain.TContract;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 合同管理 服务层
 *
 * @author freesky
 */
public interface IContractService {

    public TContract get(String id);
    public List<TContract> findList(TContract entity);

    public TContract selectSummaryData(TContract entity);

    public boolean checkContractNameUnique(TContract entity);
    public boolean checkContractNoUnique(TContract entity);

    public int selectProjectCount(String contractId);

    public int insert(TContract entity);

    public int update(TContract entity);

    public int deleteByIds(String[] ids);

}
